package org.example.model.table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName(value = "score")
public class Score {
    /**
     * 成绩ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 学生ID
     */
    @TableField(value = "student_id")
    private Long studentId;
    /**
     * 课程ID
     */
    @TableField(value = "course_id")
    private Long courseId;
    /**
     * 课程成绩
     */
    private Integer mark;
}
